cc.Class({
    extends: cc.Component,

    properties: {
        animationNode: cc.Node
    },

    // use this for initialization
    onLoad: function () {
        window.ui.activity = this
    },

    show(){
        this.node.active = true
    },

    hiden(){
      this.node.active = false
    }
});
